﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    enum Text
    {
        爆炒李英群,
        麻辣李伟,
        清蒸黄婷芳

    }
  
    class CookRobot:Robot
    {
        public Text text { get; set; }
        public CookRobot()
        { }
        public CookRobot(string Name,Text text)
            :base(Name)
        {
            this.text = text;
        }
        public override void Working()
        {
            Console.WriteLine("机器人类型：{0}，菜名：{1}",this.Name,this.text); 
        }
    }
    }

